package com.km.team.phsystem.dao.mybatis;

import com.km.team.phsystem.beans.pojo.BusinessTypeOptArticle;
import com.km.team.phsystem.beans.pojo.BusinessTypeOptArticleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessTypeOptArticleMapper {
    long countByExample(BusinessTypeOptArticleExample example);

    int deleteByExample(BusinessTypeOptArticleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BusinessTypeOptArticle record);

    int insertSelective(BusinessTypeOptArticle record);

    List<BusinessTypeOptArticle> selectByExampleWithBLOBs(BusinessTypeOptArticleExample example);

    List<BusinessTypeOptArticle> selectByExample(BusinessTypeOptArticleExample example);

    BusinessTypeOptArticle selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BusinessTypeOptArticle record, @Param("example") BusinessTypeOptArticleExample example);

    int updateByExampleWithBLOBs(@Param("record") BusinessTypeOptArticle record, @Param("example") BusinessTypeOptArticleExample example);

    int updateByExample(@Param("record") BusinessTypeOptArticle record, @Param("example") BusinessTypeOptArticleExample example);

    int updateByPrimaryKeySelective(BusinessTypeOptArticle record);

    int updateByPrimaryKeyWithBLOBs(BusinessTypeOptArticle record);

    int updateByPrimaryKey(BusinessTypeOptArticle record);
}